home *** CD-ROM | disk | FTP | other *** search
- Path: classic.iinet.com.au!news
- From: ng@mitswa.com.au (John A Ng)
- Newsgroups: comp.lang.c++
- Subject: Re: Beginer Question
- Date: Tue, 16 Jan 1996 07:58:20 GMT
- Organization: MITS (WA)
- Message-ID: <4dflqp$a3m@classic.iinet.com.au>
- References: <4d36ur$f36@redwood.northcoast.com>
- NNTP-Posting-Host: grunge193.nv.iinet.net.au
- X-Newsreader: Forte Free Agent 1.0.82
-
- Cojo@Cojo.com (Cojo) wrote:
-
- >Is there a way to write code that will allow you to run another program from
- >within a program you write (I'm sure there is). Like of I wanted to run
- >another program (that I didn't write, but is already an .exe, stand alone
- >program) from within my program, while my program is still running. Any help
- >will be much apreciated.
- > Thank you.
- >
- >
-
- The answer depends on what compiler/language/environment you use to
- develop your program with. For example, if you are using C/C++, then
- you can call a standardard function:
-
- system("...");
-
- with the command as a string. This is a very convenient function.
-
-